package com.crm.model.activity.dtos;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class ActivityDto {
    private Integer channel; //渠道来源

    private String profile; //活动介绍

    private String type; //活动类型 折扣/代金券

    private String discount; //折扣

    private String voucher; //代金券

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createdTime; //创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime; //结束时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date updatedTime; //修改时间
}
